export interface ResopnseData {
    code: number
    message: string
    ok: boolean
}

// 用户登录表单
export interface LoginFormData {
    username: string
    password: string
}

// 用户登录响应数据
export interface LoginResponseData extends ResopnseData {
    data: string
}

// 用户信息响应数据
export interface UserInfoResponseData extends ResopnseData {
    data: UserInfoData
}

// 用户信息
export interface UserInfoData {
    avatar: string
    buttons: string[]
    name: string
    roles: string[]
    routes: string[]
}
